home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000381_henry.thorpe@att.net_Sun Mar 16 09:55:40 EST 2003.msg < prev    next >
Text File  |  2020-01-01  |  5KB  |  119 lines

  1. Article: 14179 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!wn13feed!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail
  3. Message-ID: <3E7406CF.60307@att.net>
  4. From: "Henry E. Thorpe" <henry.thorpe@att.net>
  5. Organization: Just me!
  6. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
  7. X-Accept-Language: en-us, en
  8. MIME-Version: 1.0
  9. Newsgroups: comp.unix.bsd.freebsd.misc,comp.protocols.kermit.misc
  10. Subject: Re: sample freebsd ckermit w/ security makefile
  11. References: <805c1bb5.0303120729.719980ee@posting.google.com> <3E73FF4A.5050608@att.net>
  12. In-Reply-To: <3E73FF4A.5050608@att.net>
  13. Content-Type: text/plain; charset=us-ascii; format=flowed
  14. Content-Transfer-Encoding: 7bit
  15. Lines: 96
  16. NNTP-Posting-Host: c694c62160488c1ed26b5ef87fe4a47f
  17. X-Complaints-To: abuse@worldnet.att.net
  18. X-Trace: bgtnsc05-news.ops.worldnet.att.net 1047791288 c694c62160488c1ed26b5ef87fe4a47f (Sun, 16 Mar 2003 05:08:08 GMT)
  19. NNTP-Posting-Date: Sun, 16 Mar 2003 05:08:08 GMT
  20. Date: Sun, 16 Mar 2003 05:08:08 GMT
  21. Xref: newsmaster.cc.columbia.edu comp.unix.bsd.freebsd.misc:232642 comp.protocols.kermit.misc:14179
  22.  
  23. Just tried the second on REL 4.7, with OpenSSL OVERWRITEBASE 0.9.7a.
  24.  
  25. Installs as kermit-8.0.208.  Start TLS ftp works fine with a TLS-capable 
  26. FTP server.
  27.  
  28. -------distinfo--------
  29. MD5 (cku206.tar.gz) = d16f433e9a347f96d09962be5d8ab71f
  30. MD5 (cku208.tar.gz) = b7e5634c0f73249db6f052636bbb20cf
  31. -------Makefile--------
  32. # New ports collection makefile for:    kermit
  33. # Date created:         Oct 27, 1994
  34. # Whom:                 pst
  35. #
  36. # $FreeBSD: ports/comms/kermit/Makefile,v 1.32 2003/03/04 15:03:42 naddy 
  37. Exp $
  38. #
  39.  
  40. PORTNAME=       kermit
  41. PORTVERSION=    8.0.208
  42. CATEGORIES=     comms
  43. MASTER_SITES=   ftp://kermit.columbia.edu/kermit/archives/ \
  44.                  ftp://ftp.icm.edu.pl/pub/kermit/archives/
  45. DISTNAME=       cku208
  46.  
  47. MAINTAINER=     naddy@FreeBSD.org
  48. COMMENT=        Serial and network communications package
  49.  
  50. USE_OPENSSL=    yes
  51. NO_WRKSUBDIR=   yes
  52. MAN1=           kermit.1
  53.  
  54. MAKEFILE=       makefile
  55. ALL_TARGET=     krbmit
  56. MAKE_ARGS=      KTARGET=freebsd CC="${CC}" CC2="${CC}" \
  57.                  CFLAGS="${CFLAGS} -I${OPENSSLINC} \
  58.                  -DBSD44 -DCK_NCURSES -DCK_NEWTERM \
  59.                  -DTCPSOCKET -DNOCOTFMC -DFREEBSD4 -DUSE_UU_LOCK -DFNFLOAT \
  60.                  -funsigned-char -DTPUTSARGTYPE=int -DUSE_STRERROR 
  61. -DCKHTTP \
  62.                  -DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES \
  63.                  -DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097" \
  64.                  LIBS="-L${OPENSSLLIB} \
  65.                  -lssl -lcrypto -lncurses -lcrypt -lutil -lm"
  66.  
  67. do-install:
  68.          ${INSTALL_PROGRAM} ${WRKSRC}/krbmit ${PREFIX}/bin/kermit
  69.          ${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1
  70.          @${MKDIR} ${DOCSDIR}
  71.          ${INSTALL_DATA} ${WRKSRC}/ckaaaa.txt ${DOCSDIR}/READ.ME
  72.          @for file in COPYING.TXT ckcbwr.txt ckccfg.txt ckcplm.txt \
  73.              ckermit70.txt ckermit80.txt ckubwr.txt ckuins.txt 
  74. ckututor.txt; \
  75.          do \
  76.              ${ECHO} "Installing ${DOCSDIR}/$${file} ..." ; \
  77.              ${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCSDIR}; \
  78.          done
  79.          @${MKDIR} ${EXAMPLESDIR}
  80.          ${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc
  81.          ${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc
  82.  
  83. .include <bsd.port.mk>
  84. -------end Makefile------
  85. Henry E. Thorpe wrote:
  86. > The Makefile in ports defaults to using SSL/TLS:
  87. >   /usr/ports/comms/kermit
  88. > If you want to link against OpenSSL 0.9.7a, then add 
  89. > '-DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097' to the MAKE_ARGS.
  90. > To easily use 8.0.208, I just did a 'make extract', then un-tar'ed the 
  91. > 8.0.208 distribution into the work directory, then did a 'make install'.
  92. > Alternately, you could (the right way to do it):
  93. >  - In the Makefile, change PORTVERSION=    8.0.208
  94. >  - edit distinfo to be cku208.tar.gz
  95. >  - edit distinfo to update the MD5 sum to be that of the actual 
  96. > cku208.tar.gz file
  97. > boz wrote:
  98. >> Anyone have any sample makefiles for ssl/tls security to be added to
  99. >> ckermit 8.0?  I'm running freebsd 5.0, and can compile the default
  100. >> makefile for 8.0.208
  101. >>
  102. >> On a (somewhat related topic) I have uploaded the binary for .208
  103. >> freebsd 5.0 to kermit.columbia.edu -- don't know when they'll post it
  104. >> live on the website
  105. >>
  106. >> Trying not to have to reinvent the wheel.
  107. >>
  108. >> TIA,
  109.  
  110.